package com.lzx.httpclient;

import java.util.ArrayList;
import java.util.List;

public class HeaderGroup {
	
	protected List<Header> list;
	
	
	public void addHeader(String name, String value) {
		addHeader(new Header(name, value));
	}
	
	
	public void addHeader(Header header) {
		if(list == null) {
			list = new ArrayList();
		}
		
		if(header != null) {
			list.add(header);
		}
	}

}
